import java.util.Random;

/**
 * @Author: Miyako
 * @Date: 2024-08-25-16:02
 * @Description:大飞机
 */
public class Airplane extends FlyingObject{
    private int Speed;//x轴移动速度

    public Airplane(){
        width=48;
        height=50;
        Random random = new Random();
        int x = random.nextInt(World.WIDTH-width);//x轴上生成位置为0-352随机
        int y = -height;//y轴固定
        Speed=2;
    }
}
